<h1>Editing incident</h1>

<%= error_messages_for :incident %>

<% form_for(:incident, :url => incident_path(@incident), :html => { :method => :put }) do |f| %>
  <p>
    <b>Type d'incident</b><br />
    <%= f.text_field :kind %>
  </p>

  <p>
    <b>D&eacute;tails</b><br />
    <%= f.text_field :data %>
  </p>

  <p>
    <b>R&eacute;solution :</b><br />
    <%= f.text_field :resolve %>
  </p>

  <p>
    <%= submit_tag "Modifier" %>
  </p>
<% end %>
<br :/>
<%= link_to 'Afficher', incident_path(@incident) %> |
<%= link_to 'Retour aux incidents', incidents_path %>

<!--  -->